package com.zx.cloud.model.request;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.NotBlank;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = { "hibernateLazyInitializer", "handler", "fieldHandler" }, ignoreUnknown = true)
public class Base64FileUploadRequest extends RestfulRequest {

	private static final long serialVersionUID = 1L;

	@NotNull
	@NotBlank
	@JsonProperty("imageFile")
	@ApiModelProperty(value = "图片文件", required = true)
	private String imageFile;
	@NotNull
	@NotBlank
	@JsonProperty("filename")
	@ApiModelProperty(value = "图片文件名称", required = true)
	private String filename;

	public String getImageFile() {
		return imageFile;
	}

	public void setImageFile(String imageFile) {
		this.imageFile = imageFile;
	}

	public String getFilename() {
		return filename;
	}

	public void setFilename(String filename) {
		this.filename = filename;
	}

}
